Determining component usage for databases

ABSTRACT

Determinations are made regarding which database components are installed with a database installation. A recovery manual generator accesses system recovery data to generate a system recovery manual based on the system recovery data. A database feature auditor determines, based in part on the system recovery data, which database features are installed at database installations, which may be at multiple database sites.

BACKGROUND

1. Field of the Disclosure

The present disclosure relates to database management.

2. Description of the Related Art

Databases offered by software makers may have multiple database components available for installation at a database administrator's option. Some of these components may be optional and may, in order to be installed or used, require payment of a separate license fee.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 depicts a database management system for determining component usage for databases;

FIG. 2 depicts elements of a method for determining component usage or installation of databases; and

FIG. 3 depicts a method of operating a database that includes determining component usage or installation for databases.

DESCRIPTION OF THE EMBODIMENT(S)

In one aspect, disclosed systems relate to a database management system (DBMS) that includes a processor for executing a plurality of machine readable instructions embedded in a memory. Instructions enable accessing system recovery data for determining, based at least in part on the system recovery data, which database features of a plurality of available database features are installed at a database site and further determining which of the installed database features have been used at the database site. In some embodiments, further instructions enable a database feature auditor for determining which database features are installed at a database site. The determination of which database features are installed may be based in part on a generated system recovery manual (SRM/DBMS). In some embodiments, further instructions enable a recovery manual generator that may generate the SRM/DBMS. The generated SRM/DBMS may include a Hypertext Markup Language (HTML) document. In some embodiments, a database feature inventory is maintained that includes information (e.g., identity, installation date, use dates, licensing information, etc.) regarding the installed database features. Embodiments may include instructions for a report generator that generates a database feature inventory report based on stored data indicative of the installed database features. Information from the database feature inventory report may be used to verify compliance with applicable licensing requirements.

In another aspect, a disclosed method of operating a database includes collecting SRM/DBMS data from the database, determining which database features are installed at a plurality of data sites, and storing a database feature inventory indicative of the installed database features. An SRM/DBMS based on the system recovery data can be generated. Determining which database features are installed and which installed database features are used is conducted for a plurality of database sites and is based at least in part on the collected system recovery data. The method may include comparing installed database features to a plurality of licensed database features and generating a database feature inventory report based on a database feature inventory. The database feature inventory report may also include information on which of the database features have been used. The method may include generating XML instructions for generating a database feature report and generating an HTML document used to create an SRM/DBMS or containing elements of an SRM/DBMS. The method may further include, based on said comparing, determining if a database site is in compliance with licensing requirements for the installed database features. Determining said compliance may include determining which of the installed database features have been used at the database site.

In another aspect, a computer method includes determining system recovery data for a database installation and determining a database feature inventory from the system recovery data. A further determination of which database features included in the database feature inventory are used may be made. The system recovery data may be suitable for generating an SRM/DBMS, and the method may include, in some embodiments, generating an SRM/DBMS based on the system recovery data. Generation of the SRM/DBMS may occur on a scheduled recurring basis or may take place upon the occurrence of certain designated events such as the installation of new database feature. The computer method may include generating a database feature report from the database feature inventory. Information from the database feature report may be used to verify compliance with applicable licensing requirements or to otherwise verify installation and use of applicable database features. In addition, the computer method may include determining a license compliance rating by comparing the database feature inventory to a licensed feature database.

Accordingly, embodied systems collect information about licensable products (e.g., database components) installed and used with a database or other software application. In some cases, the database includes multiple features that are installed at a database administrator's option. In this and in other cases, installation of a feature or features may require additional license fees. In other instances, while installation of a feature or features may not require additional license fees, use of the installed feature or features may require additional license fees. Collection of installation and use information by these embodied systems permits compliance with applicable licensing requirements. In some cases, database installations for an enterprise may include installations at multiple sites, with the possibility that each site may have a unique database installation having a unique combination of optional features installed. A database administrator or software licensor may wish to audit database installations at one or more sites to determine which features of the database are installed. A further determination of which installed database features are used at one or more sites may be made. Accordingly, embodied systems may facilitate the adjustment or verification of an enterprise license agreement or site license agreement to ensure installed features of a database are properly accounted and used.

In accordance with disclosed embodiments, information regarding a database installation may be determined by accessing system recovery data. Access of system recovery data may take place through a SRM/DBMS. In many cases system recovery data is collected and may be used by a database administrator for reinstalling a database after a hardware or software failure. Some database administrators use the database installation data to create an SRM/DBMS. The SRM/DBMS may be auto-generated. The SRM/DBMS may be an HTML document. In accordance with disclosed embodiments, an XML file may be generated that collects any necessary information for generating an SRM/DBMS, and the collected information includes information regarding database component installations (e.g., what database components or options are installed at various sites) and use information (e.g., what installed database components are used at various sites). From the XML file, disclosed systems may generate an HTML document for reinstallation of a database installation. In this way, information used for generating an SRM/DBMS may be used to generate a database inventory report for a large enterprise. Information may be collected on licensed database options and used to create a compliance rating for one or more sites having database installations. The information may include installed database features and whether such installed features have been used. Compliance ratings may be utilized to validate enterprise licensing programs. Collection of the information and generation of the SRM/DBMS may occur on a recurring or other scheduled basis or may take place upon the occurrence of certain designated events such as the installation of new database features.

The SRM/DBMS may include information regarding, in the event that a reinstallation is necessary, which version of a database or database options need to be installed. Also, the SRM/DBMS may contain information regarding what, if any, additional patches (e.g., security patches) need to be installed. In operation, a database administrator may run a set of scripts or commands to automatically reinstall a database installation based upon the SRM/DBMS created for one or more database installations.

An SRM/DBMS and the corresponding system recovery data may be generated automatically and periodically by querying database servers to determine what database features (i.e., options or components) are installed, how they are installed, how often they are used, and the like. The information may be collected at a central repository by a data processing system (e.g., computer). The data processing system may be operated by an auditor or an enterprise database administrator. However, in accordance with disclosed embodiments, it may be unnecessary for an auditor or enterprise database manager to log into an enterprise manager console to determine which database features are installed and used at various sites. Instead, the auditor or enterprise database manager may refer to a database feature inventory or a licensed feature list generated by a report generator. In some embodiments, the report generator may generate the licensed feature list automatically upon a scheduled basis or as a result of the occurrence of a designated event such as the installation or removal of some or all options or components.

Throughout this disclosure, a hyphenated form of a reference numeral refers to a specific instance of an element and the un-hyphenated form of the reference numeral refers to the element generically or collectively. Thus, for example, widget 12-1 refers to an instance of a widget class, which may be referred to collectively as widgets 12 and any one of which may be referred to generically as a widget 12.

Referring to the figures, FIG. 1 depicts DBMS 121 which includes processor 123 and input/output module 125 for communicating with database sites 107-1, 107-2, and 107-3. As shown, DBMS 121 includes memory 113 with instructions 131 and data 133. Instructions 131 include auto SRM generator 101, database feature auditor 103, and report generator 109. Data 133 includes licensed feature list 115, database feature inventory 119, system recovery manual 127, and system recovery data 129.

As shown, database site 107-1 includes database 117-1 with four database features installed. Specifically database features 105-1, 105-2, 105-3, and 105-4 are installed. Similarly, database site 107-2 includes database 117-2 with two database features installed in common with database site 107-1 (and also in common with database site 107-3). Specifically, each of the database sites 107 have database feature 105-1 and database feature 105-2 installed. Unique to database site 107-2, as depicted, is the installation of database feature 105-6 and database feature 105-7. Similarly, unique to database site 107-3, which includes database 117-3, is the installation of database feature 105-8 and database feature 105-9. Similarly, unique to database site 107-1 is the installation of database feature 105-3 and database feature 105-4. Accordingly, database sites within an enterprise may have database installations which have a unique combination of options installed. It will be appreciated that the number of database sites 107-1, 107-2, and 107-3 and database features 105-1 through 105-9 depicted in FIG. 1 are for illustrative purposes and that any number of database sites and database features may be employed for use with embodiments. The database administrator, in accordance with disclosed embodiments, may determine which database features are installed and used at various database sites for the purpose of creating database feature inventory 119. Information from the database feature inventory may be used to create a compliance rating for one or more database sites having database installations. These compliance ratings may be utilized to validate enterprise licensing programs.

As shown in FIG. 1, DBMS 121 includes processor 123 for executing instructions 131, which are a plurality of machine readable instructions, embedded in memory 113. As shown, instructions 131 include auto SRM generator 101 for accessing system recovery data related to database sites 107. After accessing the system recovery data related to the installation of database sites 107, the data may be stored as system recovery data 129. The system recovery data 129 is used to generate SRM 127. Database feature auditor 103 determines, based at least in part on system recovery data 129, which database features of a plurality of available database features are installed at a database site. Database feature auditor 103 may also determine, based at least in part on system recovery data 129, which installed database features at a database site have been used. Determining which database features are installed and used at a database site may also include accessing database feature inventory 119 or a database feature report generated by report generator 109. The plurality of available database features (not depicted) may be stored within data 133, and may include licensed feature list 115 which can include parameters (e.g., permissions, costs, etc.) associated with the licensing of database options for each database site 107. Information contained within licensed feature list 115 may be used to determine compliance of each database site 107 with applicable licensing requirements.

DBMS 121, as shown, maintains database feature inventory 119 which includes data for determining which database options are installed by databases 117-1, 117-2, and 117-3. Database feature inventory 119 may also include data for determining which installed database options in databases 117-1, 117-2, and 117-3 have been used. Report generator 109 can generate a database feature inventory report based on the installed database features. In some embodiments, auto SRM generator 101 invokes an XML document for collecting the system recovery data. A generated SRM/DBMS may include a HTML document. Automatic generation of the SRM/DBMS permits the SRM/DBMS to remain current and further permits the output of the SRM/DBMS to designated recovery databases. In some embodiments, the HTML document may be uploaded to platform specific websites.

As shown in FIG. 2, a method 200 for operating a database includes collecting (block 202) system recovery data and generating (block 204) a recovery manual (e.g., an SRM/DBMS) based on the system recovery data. Generation of the recovery manual may occur on a recurring scheduled basis or may take place upon the occurrence of certain designated events such as the installation of new database feature. A determination is made (block 206), for a plurality of database sites and based at least in part on the collected system recovery data, which database features are installed at the plurality database sites. A further determination may be made (block 207) which installed database features have been used at the plurality of database sites. As an optional aspect, installed database features may be compared (block 208) to licensed database features. A database feature inventory is stored (block 210) that is indicative of the installed database features and/or indicative of whether installed database features are used and if so, are licensed. As another optional aspect, a database feature inventory report may be generated (block 212) based on the database feature inventory. The database feature report may be constructed using XML instructions, for example. Generation of the database feature report may occur on a scheduled recurring basis or may take place upon the occurrence of certain designated events such as the installation of new database feature. Information from the database feature report may be used to create a compliance rating for one or more of the plurality of database sites. These compliance ratings may be utilized to verify installed and used database features at the database sites and to validate licensing programs at the database sites.

As shown in FIG. 3, method 300 is a computer method and includes determining (block 301) system recovery data for a database installation. Determination of the system recovery data may occur on a recurring scheduled basis or may take place upon the occurrence of certain designated events such as the installation of new database feature. The system recovery data is suitable for generating an SRM/DBMS. The computer method further includes determining (block 303) a database feature inventory from the system recovery data. A database feature report is generated (block 305) from the database feature inventory. Determination of the database feature inventory and generation of the database feature report may occur on a recurring scheduled basis or may take place upon the occurrence of certain designated events such as the installation of new database feature. A license compliance rating is determined (block 307) by comparing the database feature inventory to a database of licensed features. The compliance rating may be utilized to verify or otherwise validate installation and use of database features and thereby ensure compliance with applicable licensing programs and requirements at the database installation. An SRM/DBMS is generated (block 309) from the system recovery data. Generation of the SRM may occur on a recurring scheduled basis or may take place upon the occurrence of certain designated events such as the installation of new database features. In accordance with disclosed embodiments, information regarding a database installation may be determined by accessing the corresponding SRM/DBMS. In many cases, the SRM/DBMS and the system recovery data contained therein may be used for reinstalling a database after a hardware or software failure.

To the maximum extent allowed by law, the scope of the present disclosure is to be determined by the broadest permissible interpretation of the following claims and their equivalents, and shall not be restricted or limited to the specific embodiments described in the foregoing detailed description. 

1. A database management system (DBMS) comprising: a processor for executing a plurality of machine readable instructions embedded in a memory, wherein the plurality of machine readable instructions include instructions for: accessing system recovery data; determining, based at least in part on the system recovery data, which database features of a plurality of available database features are installed at a database site; and determining which of the installed database features at the database site have been used.
 2. The DBMS of claim 1, further including instructions for: maintaining a database feature inventory indicative of the installed database features at the database site.
 3. The DBMS of claim 1, further including instructions for: generating a database feature inventory report based on the installed database features.
 4. The DBMS of claim 1, further including instructions for: a report generator, wherein the report generator performs the generation of the database feature inventory report.
 5. The DBMS of claim 1, further including instructions for: a database feature auditor, wherein the database feature auditor performs the determining of the installed database features.
 6. The DBMS of claim 5 wherein the database feature auditor performs the determining of the used database features.
 7. The DBMS of claim 1, further including instructions for: a recovery manual generator, wherein the recovery manual generator performs the accessing of the system recovery data and further performs the generation of a system recovery manual.
 8. The DBMS of claim 7, wherein the recovery manual generator invokes an XML document, wherein the XML document is for collecting the system recovery data.
 9. The DBMS of claim 1, wherein the generated recovery manual comprises a Hypertext Markup Language (HTML) document.
 10. A method of operating a database, the method comprising: collecting recovery manual data from the database; determining, for a plurality of database sites and based at least in part on the collected recovery manual data, which database features are installed at the plurality of database sites; further determining which of the installed database features are in use at the plurality of database sites; and storing a database feature inventory indicative of the installed database features and further indicative of the used database features.
 11. The method of claim 10, further comprising: comparing the database feature inventory to a plurality of licensed database features.
 12. The method of claim 11, further comprising: based on said comparing, determining if the database site is in compliance with licensing requirements for at least of the installed database features and the used database features.
 13. The method of claim 10, further comprising: generating a database feature inventory report based on the database feature inventory.
 14. The method of claim 10, further comprising: generating a recovery manual based at least in part on the recovery manual data.
 15. The method of claim 10, further comprising: generating recovery manual data based at least in part on said determining which database features are installed at the database sites.
 16. The method of claim 15, further comprising: generating extensible markup language instructions for generating a database feature report.
 17. The method of claim 16, further comprising: generating a Hypertext Markup Language document for generating a recovery manual, wherein said generating an HTML document is based at least in part on the generated database feature report.
 18. A computer method comprising: determining system recovery data for a database installation, wherein said system recovery data is suitable for generating a system recovery manual; and determining a database feature inventory from the system recovery data.
 19. The computer method of claim 18, further comprising: generating a database feature report from the database feature inventory.
 20. The computer method of claim 18, further comprising: determining a license compliance rating by comparing the database feature inventory to an available feature database.
 21. The computer method of claim 20, wherein the license compliance ratings is based at least in part on what database features at the database installation are in use. 